package com.hiray.demos.behavior

import android.content.Intent
import com.google.android.material.bottomsheet.BottomSheetDialog
import com.hiray.demos.IndexActivity

class BehaviorEntryActivity : IndexActivity() {

    override fun getData(): List<String> {
        return listOf(
                "BottomSheetDialog"
        )
    }

    override fun handleItemClick(index: Int, title: String) {
        when(index){
            0->  startActivity(Intent(this,BottomSheetDialogActivity::class.java))
        }
    }
}